namespace MesGLApp.DAL.RoleDB
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("base_menu")]
    public partial class BaseMenuModel
    {
        [Key]
        [Column(Order = 0)]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int id { get; set; }

        [StringLength(20)]
        public string menu_code { get; set; }

        [StringLength(20)]
        public string menu_name { get; set; }

        [Key]
        [Column(Order = 1)]
        public int base_prog_id { get; set; }

        public int? parent_id { get; set; }

        public int? menu_type { get; set; }

        [StringLength(50)]
        public string url { get; set; }

        [StringLength(200)]
        public string class_name { get; set; }

        public bool? is_del { get; set; }

        public bool? is_final { get; set; }

        public int? sort { get; set; }

        [StringLength(100)]
        public string des { get; set; }

        [StringLength(20)]
        public string create_user { get; set; }

        public DateTime? create_date { get; set; }
    }
}
